{template header}

<div class="midder">
<div class="mc">

<div class="flat">
<h2>课程频道</h2>
<div class="onecate">
<ul>
{loop $arrOneCate $key $item}
<li>
<a href="{tsUrl('study','cate',array('id'=>$item['cateid']))}">{$item['catename']}</a>
</li>
{/loop}
</ul>
</div>
</div>



<div class="flat clearfix">
<h2>{$strTag['tagname']}相关课程推荐</h2>
<ul  class="kecheng">      
{loop $arrStudy $key $item}
<li>
<div class="photo">
<a href="{tsUrl('study','show',array('id'=>$item['studyid']))}">
{if $item['photo']}
<img src="{php echo tsXimg($item['photo'],'study','190','140',$item['path'],'1')}" />
{else}
<img alt="{$item['studyname']}" src="{SITE_URL}app/study/skins/default/kecheng.gif">
{/if}
</a>
</div>
<p class="title"><a title="{item['studyname']}" href="{tsUrl('study','show',array('id'=>$item['studyid']))}">{$item['studyname']}</a></p>
<p>
<span>学员：{$item['count_learn']}</span>
<span>课时：{$item['count_lesson']}</span>
<span>作者：<a title="{$item['user']['username']}" href="{tsUrl('user','topic',array('id'=>$item['user']['userid']))}">{$item['user']['username']}</a></span>
</p>
</li>
{/loop}
</ul>
</div>



</div>
</div>

{template footer}